package net.wofly.sale.exchange.service;

import java.util.List;

import org.springframework.data.domain.Page;

import net.wofly.framework.util.ReturnBean;
import net.wofly.sale.exchange.domain.ExchangeType;

public interface IExchangeTypeService {
	
	public ReturnBean<List<ExchangeType>> getAllExchangeType() ;
	
	public ReturnBean<ExchangeType> saveExchangeType(ExchangeType exchangeType) ;
	
	public ReturnBean<String> delExchangeType(String exchangeTypeID) ;
	
	public ExchangeType findOne(String exchangeTypeID) ;
	
	public ReturnBean<Page<ExchangeType>> getAllExchangeType(String exchangeTypeName ,Integer pageNum, Integer pageSize) ;
}
